<?php echo form_open('admin/addDataUser'); ?>

      <table width="27%" border="0" align="center" cellpadding="0" cellspacing="0" class="">
        <tr>
          <th height="28" colspan="2" align="center" valign="middle" nowrap="nowrap">ข้อมูลผู้ใช้</th>
        </tr>
        <tr>
          <td width="28%" height="28" align="right" nowrap="nowrap">ชื่อผู้ใช้ :</td>
          <td width="72%" nowrap="nowrap"><input name="username" type="text" required="required" class="" id="" size="30"/></td>
        </tr>
        <tr>
          <td height="28" align="right" nowrap="nowrap">รหัสผ่าน:</td>
          <td nowrap="nowrap"><input name="password" type="password" required="required" class=""  id="" size="30"/></td>
        </tr>
        <tr>
          <td height="28" align="right" nowrap="nowrap">ชื่อ :</td>
          <td nowrap="nowrap"><input name="name" type="text" required="required" class="" id="" size="30"/></td>
        </tr>
        <tr>
          <td height="28" align="right" nowrap="nowrap">นามสกุล :</td>
          <td nowrap="nowrap"><input name="lastname" type="text" required="required" class="" id="" size="30"/></td>
        </tr>
        <tr>
          <td height="28" align="right" nowrap="nowrap">สถานะ :</td>
          <td nowrap="nowrap"> <select name="status">
					<option value="admin">admin</option>
					<option value="teacher">teacher</option>
		  </select> </td>
        </tr>
        <tr>
          <td height="28" colspan="2" align="right" nowrap="nowrap"><center><input type="submit"  class="" value="บันทึก"/><input type="reset" value="ยกเลิก" >
          </center></td>
        </tr>
      </table>
    </form>
